<?php

function smarty_function_css($params)
{
	define('__ROOT__', 'http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME']).'/Tpl/');
	return ' <link rel="stylesheet" href="'.__ROOT__.$params['file'].'"> ';
}

?>
